<?php 
header('Content-Type:text/html;charset=gbk');
require_once("db_manage.php");
require_once '../bbs/include/common.inc.php';

$id = $_POST['id'];
$title = $_POST['title'];
$postuser = $_POST['postuser'];
$textlink = $_POST['textlink'];
$turn = $_POST['turn'];
$forumsort = $_POST['forumsort'];

//$travel = array($title,$area,$view,$bed,$traffic,$expense,$num,$costdate,$content,$discuz_uid);
$bbs = array($id,$title,$postuser,$textlink,$turn,$discuz_userss,$forumsort);

/*

for($i=0;$i<count($dairy);$i++){
				echo $dairy[$i];
				echo '<p>';			
			}
*/
			
updatebbsHot($bbs);
echo "<script>location.href='manage_home_hot.php?forumsort=" + $forumsort + "';</script>";
?>